package com.ruoyi.yuwen.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图对象 t_picture
 * 
 * @author ruoyi
 * @date 2023-02-27
 */
public class Picture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String picture;

    /** 图片名称 */
    @Excel(name = "图片名称")
    private String picName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setPicName(String picName) 
    {
        this.picName = picName;
    }

    public String getPicName() 
    {
        return picName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("picture", getPicture())
            .append("picName", getPicName())
            .toString();
    }
}
